<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="__PUBLIC_ADMIN__/Css/public.css">
    <script src="__PUBLIC__/JS/jquery-1.7.2.min.js"></script>
    <script src="__PUBLIC__/layer/layer.js"></script>
</head>
<body>
<table class="table">
    <tr>
        <th>ID</th>
        <th>角色名称</th>
        <th>角色描述</th>
        <th>开启状态</th>
        <th>操作</th>
    </tr>
    <foreach name="list" item="vo">
        <tr>
            <td>{$vo.id}</td>
            <td>{$vo.name}</td>
            <td>{$vo.remark}</td>
            <td>
                <if condition="$vo['status']">
                    开启
                <else/>
                    关闭
                </if>
            </td>
            <td>
                <a href="{:U('Index/access',array('rid'=>$vo['id']),'')}">配置权限</a>
            </td>
        </tr>
    </foreach>
</table>
</body>
</html>